<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Liên hệ',
);
?>
<div class="container">
   <div class="top">
      <?php if(Yii::app()->user->hasFlash('success')){
         echo Str::notificationBox('success',Yii::app()->user->getFlash('success'),'Thông báo');
      }?>
   </div>
   <div class="form">
   <?php $form=$this->beginWidget('CActiveForm', array(
   	'id'=>'contact-form',
      
   	'enableClientValidation'=>true,
   	'clientOptions'=>array(
   		'validateOnSubmit'=>true,
   	),
      'htmlOptions' => array(
         'class' => 'user-form',
      )
   )); ?>
   <div class="caption relative text-center">
      <em class="arrow half-arrow-down sprite absolute medium-left"></em>
      <span class="font-opensans bold">Liên hệ</span>
      <em class="arrow half-arrow-down sprite absolute medium-right"></em>
   </div>
   <div class="control-container">
   	<div class="map-container">
         <p>+ Chúng tôi luôn đón nhận mọi sự góp ý về website, về góp ý ,phản hồi của bạn</p>
         <p>+ Để thực hiện việc liên hệ các bạn vui lòng điền vào theo form bên phải</p>
      <p class="bold font-opensans">Bản đồ</p>
      <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d7449.3054910384835!2d105.80512170715201!3d21.006552534306998!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3135aca1ee21d131%3A0x4c1f795733fd143d!2zMTdUNywgTmjDom4gQ2jDrW5oLCBUaGFuaCBYdcOibg!5e0!3m2!1svi!2s!4v1404532115146" width="547" height="260" frameborder="0" style="border:0"></iframe>
      </div>
      <div class="left">
         <div class="row">
      		<?php echo $form->labelEx($model,'feed_use_name'); ?>
      		<?php echo $form->error($model,'feed_use_name'); ?>
            <?php echo $form->textField($model,'feed_use_name'); ?>
      		
      	</div>
      
      	<div class="row">
      		<?php echo $form->labelEx($model,'feed_use_email'); ?>
      		<?php echo $form->error($model,'feed_use_email'); ?>
            <?php echo $form->textField($model,'feed_use_email'); ?>
      	</div>
      
      	<div class="row">
      		<?php echo $form->labelEx($model,'feed_content'); ?>
      		<?php echo $form->error($model,'feed_content'); ?>
            <?php echo $form->textArea($model,'feed_content',array('style' => 'resize: none;width: 320px; height:120px;')); ?>
      	</div>
      
      	<div class="row buttons text-right">
      		<?php echo CHtml::submitButton('Gửi',array('class' => 'btn btn-success')); ?>
      	</div>
      </div>
      
   </div>
   <?php $this->endWidget(); ?>   
   </div><!-- form -->
</div>
